FROM openjdk:17.0.2-jdk-oracle
RUN ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' > /etc/timezone
COPY target/*.jar adminapi.jar
EXPOSE 35313
ENTRYPOINT java -jar adminapi.jar --spring.profiles.active=$env
